<!-- $Id: mshop_info.htm 14361 2008-04-07 09:26:17Z zhuwenyuan $ -->
{include file="pageheader.htm"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<style>
.span_info{  padding-left: 10px; cursor:pointer;}
 .span_info a{    color: #666;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
    border: 1px solid #278296;
    border-right: 2px solid #278296;
    border-bottom: 2px solid #278296;
    background: #DDEEF2 url(../images/icon_add.gif) no-repeat 3px center;
}}
</style>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
{insert_scripts files="validator.js,../js/transport.js}
<div class="main-div">
<form method="post" action="mshop_payment.php" name="theForm" enctype="multipart/form-data" onSubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">

  
  <tr>
    <td class="label">{$lang.pay_name}</td>
    <td><input name="pay_name" type="text" id="pay_name" value="{$mshop_payment.pay_name}"></td>
  </tr>
    <tr>
    <td class="label">{$lang.pay_fee}</td>
    <td><input name="pay_fee" type="text" id="pay_fee" value="{$mshop_payment.pay_fee}">&nbsp;填写例如0.02，即按2%收取手续费，用户提现100，得到98元</td>
  </tr>
    <tr>
    <td class="label">{$lang.pay_order}</td>
    <td><input name="pay_order" type="text" id="pay_order" value="{$mshop_payment.pay_order}">&nbsp;前台显示数字越大排序越靠前。</td>
  </tr>
      <tr>
    <td class="label">{$lang.enabled}</td>
    <td><input type="checkbox" id='enabled' name="enabled" value='1' {if $mshop_payment.enabled}checked="true"{/if} />开启</td>
  </tr>
  
  <tr>
    <td colspan="2" align="center">
      <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
      <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="id" value="{$mshop_payment.pay_id}" />    </td>
  </tr>
</table>
</form>
</div>

{literal}
<script language="JavaScript">
<!--
onload = function()
{
    // 开始检查订单
    startCheckOrder();
//    changeRange(document.forms['theForm'].elements['act_range'].value);
//    changeType(document.forms['theForm'].elements['act_type'].value);
}
/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required('pay_name', act_name_not_null);
    validator.isNumber('pay_fee', min_amount_not_number, true);
    validator.isNumber('pay_order', max_amount_not_number, true);

    return validator.passed();
}

//-->
</script>
{/literal}
{include file="pagefooter.htm"}
